<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="MachineList, App_Web_kim3uyhp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
<style>
          .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
    vertical-align: middle;
    border-color: #ddd;
}

</style>

 <div class="main-panel">
        <div class="content">
        <div class="container" id="Machinelist" runat="server">
        <div class="row dash-pane2" style="margin-top:180px !important">
        <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title">  <i class="fa fa-list fa-fw"></i>
                            <asp:Label ID="lblListofMachine" runat="server" Text="List of Machine"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive" style="height:350px; over-flow-x:hidden; overflow-y:scroll">
                                           <asp:GridView ID="Grid1" runat="server" class="table table-bordered table-hover table-striped"
                                AutoGenerateColumns="False" CellPadding="0" DataKeyNames="MachineId"
                                Style="font-family: Verdana; font-size: 8pt">
                                <Columns>
                                    <asp:TemplateField HeaderText="Select">
                                        <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" Width="1%" />
                                        <ItemTemplate>
                                            <asp:CheckBox ID="cbRows" runat="server" />
                                        </ItemTemplate>
                                        <ItemStyle CssClass="gItmTxt" />
                                        <FooterStyle Width="0px" Wrap="False" />
                                    </asp:TemplateField>
                                    <asp:HyperLinkField DataNavigateUrlFields="MachineId" DataNavigateUrlFormatString="MachineManagement.aspx?RowId={0}"
                                        ControlStyle-ForeColor="#006699" DataTextField="MachineNo" HeaderText="Machine No"
                                        SortExpression="Desig_Name">
                                        <ItemStyle CssClass="gItmTxt" Height="21px" HorizontalAlign="Left" Width="80px" Wrap="False" />
                                        <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                                            Width="80px" Wrap="true" />
                                        <ControlStyle Width="80px" />
                                        <FooterStyle Width="80px" Wrap="False" />
                                    </asp:HyperLinkField>
                                    <asp:BoundField DataField="MachineType" HeaderText="Machine Model" SortExpression="Machine Model">
                                        <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="100px"
                                            Wrap="true" />
                                        <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                                            Width="100px" Wrap="False" />
                                        <FooterStyle Width="100px" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="MachineIp" HeaderText="Machine Serial No" SortExpression=" Model">
                                        <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="100px"
                                            Wrap="true" />
                                        <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                                            Width="100px" Wrap="False" />
                                        <FooterStyle Width="100px" Wrap="False" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Branch_Name" HeaderText="Branch" SortExpression="BranchNAme">
                                        <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="100px"
                                            Wrap="true" />
                                        <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                                            Width="100px" Wrap="False" />
                                        <FooterStyle Width="100px" Wrap="False" />
                                    </asp:BoundField>
                                </Columns>
                            </asp:GridView>
       </div>
       </div>
       </div>
       <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                    <asp:Button ID="Btnadd" runat="server" Text="Add" OnClick="Btnadd_Click" type="button"
                class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
            <asp:Button ID="BtnDel" runat="server" type="button" Text="Delete" OnClick="BtnDel_Click"
                class="btn btn-danger" /><i class="fa fa-trash-o;"></i>&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" Text="Close" class=" btn btn-danger" 
                OnClick="Button1_Click" /><i></i>
       </div>
                </div>
              </div>
   

 
  
 

       
  </div>
 
 <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>
    
</asp:Content>
